package serialization;

import java.io.Serializable;

/**
 * 简介
 * 作者： 李志伟
 * 日期： 2020/4/23
 * 时间： 8:25
 */
public class User implements Serializable {

    private static final long serialVersionUID = 1L;


    private String name;
    private Integer age;
    private Double money;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }


    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", money=" + money +
                '}';
    }
}
